#include "AVLTree.hpp"
#include "SortTree.hpp"
int main()
{
    AVLT::AVLTree<int, int> tree;
    tree.Insert(std::pair<int, int>(1, 1));
    tree.Insert(std::pair<int, int>(2, 1));
    tree.Insert(std::pair<int, int>(3, 1));
    tree.Insert(std::pair<int, int>(4, 1));
    tree.Insert(std::pair<int, int>(5, 1));
    tree.Insert(std::pair<int, int>(6, 1));
    tree.PrePrint();
    int result = 0;
    if(tree.At(1, &result))
    {
        std::cout << result << std::endl;
    }
    return 0;
}
